Skip to content

docs: update subagents docs for PR #20#781

Open
markbackman wants to merge 1 commit into
mainfrom
docs/subagents-pr-20
Open

docs: update subagents docs for PR #20#781
markbackman wants to merge 1 commit into
mainfrom
docs/subagents-pr-20

Conversation

@markbackman
Copy link
Copy Markdown
Contributor

Automated documentation update for pipecat-subagents PR #20.

Changes

Updated guides

  • subagents/learn/task-coordination.mdx - Updated the DebateWorker example to use the new LLMContextAgent class instead of manually creating LLMContext and LLMContextAggregatorPair. This demonstrates the simplified pattern for worker agents that need their own conversation context. Added an explanatory note about LLMContextAgent benefits.

Gaps identified

New API requiring documentation

  • LLMContextAgent - New class in src/pipecat_subagents/agents/llm/llm_context_agent.py needs its own API reference page at api-reference/pipecat-subagents/llm-context-agent.mdx. This is a subclass of LLMAgent that includes built-in LLMContext and LLMContextAggregatorPair, simplifying the pattern for worker agents.

File renames (no content changes)

  • agents/llm/agent.pyagents/llm/llm_agent.py (content unchanged, mapping updated)
  • agents/flows/agent.pyagents/flows/flows_agent.py (content unchanged, mapping updated)

The source-to-doc mapping file (.claude/skills/update-docs/SOURCE_DOC_MAPPING.md) was already updated in PR #20 to reflect the new filenames.


🤖 Generated with automated docs sync workflow

Updated the DebateWorker example to use the new LLMContextAgent class
instead of manually creating LLMContext and LLMContextAggregatorPair.
This simplifies the code and demonstrates the recommended pattern for
worker agents that need their own conversation context.

Changes:
- Import LLMContextAgent instead of LLMAgent
- Replace build_pipeline() with on_ready() hook
- Access aggregators via self.assistant_aggregator property
- Added explanatory note about LLMContextAgent benefits

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@markbackman markbackman added the auto-docs Automated documentation update from pipecat source changes label Apr 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-docs Automated documentation update from pipecat source changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant